Dynamic activity-based image generation for online social networks

ABSTRACT

Among other things, embodiments of the present disclosure can help to automatically generate images displaying activity-based information and distribute such images to other users, such as members of a social network. The image may be modified based on activity data associated with other users and/or from other activity sensors.

PRIORITY

This application is a continuation of and claims the benefit of priorityof U.S. patent application Ser. No. 16/729,046, filed Dec. 27, 2019,which application is a continuation of and claims the benefit ofpriority of U.S. patent application Ser. No. 16/271,354, Feb. 8, 2019,now issued as U.S. Pat. No. 10,547,797, which is a continuation of andclaims the benefit of priority of U.S. patent application Ser. No.15/727,353, filed on Oct. 6, 2017, now issued as U.S. Pat. No.10,244,186, which is a continuation of and claims the benefit ofpriority of U.S. patent application Ser. No. 15/148,082, filed on May 6,2016, now issued as U.S. Pat. No. 9,813,642, which are herebyincorporated by reference herein in their entirety.

BACKGROUND

The popularity of personal activity monitoring continues to grow. Usersincreasingly use electronic devices to monitor their physical activitythroughout the day, as well as other information (such as sleep quality,food intake, etc.) to help achieve their individual health goals.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings, which are not necessarily drawn to scale, like numeralsmay describe similar components in different views. Like numerals havingdifferent letter suffixes may represent different instances of similarcomponents. Some embodiments are illustrated by way of example, and notlimitation, in the figures of the accompanying drawings in which:

FIG. 1 is a block diagram showing an example messaging system forexchanging data (e.g., messages and associated content) over a network.

FIG. 2 is block diagram illustrating further details regarding amessaging system, according to exemplary embodiments.

FIG. 3 is a schematic diagram illustrating data which may be stored inthe database of the messaging server system, according to variousexemplary embodiments.

FIG. 4 is an exemplary flow diagram of a process for activity-basedimage generation according to various aspects of the disclosure.

FIGS. 5A-5F are screenshots illustrating the steps of the methoddescribed in FIG. 4 .

FIG. 6 is a block diagram illustrating a representative softwarearchitecture, which may be used in conjunction with various hardwarearchitectures herein described.

FIG. 7 is a block diagram illustrating components of a machine,according to some exemplary embodiments, able to read instructions froma machine-readable medium (e.g., a machine-readable storage medium) andperform any one or more of the methodologies discussed herein.

DETAILED DESCRIPTION

The description that follows includes systems, methods, techniques,instruction sequences, and computing machine program products thatembody illustrative embodiments of the disclosure. In the followingdescription, for the purposes of explanation, numerous specific detailsare set forth in order to provide an understanding of variousembodiments of the inventive subject matter. It will be evident,however, to those skilled in the art, that embodiments of the inventivesubject matter may be practiced without these specific details. Ingeneral, well-known instruction instances, protocols, structures, andtechniques are not necessarily shown in detail.

Among other things, embodiments of the present disclosure can help toautomatically generate images displaying activity-based information anddistribute such images to other users, such as members of a socialnetwork. The image may be modified based on activity data associatedwith other users and/or from other activity sensors. For example, theimage may be modified to display representations of the user's relativeactivity data ranking (e.g., first, second, or third in this example)with regards to the activity data from other users. Various images,sounds, animations, and the like may be presented in conjunction withdisplaying the user's ranking. Among other things, this not only gives auser a way to compete in real-time or near-real-time with other users(e.g., members of the user's social network) in achieving fitness goals,but provides the user with motivation to continue/extend variousphysical activities.

For example, some users of a social network may elect to provide thesocial network with access to sensor data to track a user step count ona periodic basis. During such a period, all users that have elected toprovide the social network with access to step count data may be rankedin order by the social network. The number one user at any given timemay have access to a unique graphic, such as a trophy with a blueribbon. When the user captures an image on the device using an imagingapplication associated with the social network, the activity dataidentifying the user as the number one in step count allows the user tomodify the image with the unique graphic. The image as modified with theunique graphic can then be sent through the social network communicationsystem as an ephemeral message (i.e., a message available for viewingfor a predetermined time). Among other things, the unique graphicoperates as an indicator to other users receiving the ephemeral messagethat the sending user was first in user step count when the message wassent.

In another embodiment where users of the social network provide activitysensor information to the social network related to step count, thesocial network may have a daily step count threshold (e.g., 5000 stepsper day or 10000 steps per day). Users who exceed a step count thresholdwithin a 24 hour period receive access to a filter or graphical overlayfor the rest of the day, and may use the filter or graphical overlaywhen sending messages through a server of the social network until thestep count towards the threshold resets on the next day.

FIG. 1 is a block diagram showing an example messaging system 100 forexchanging data (e.g., messages and associated content) over a network.The messaging system 100 includes multiple client devices 102, each ofwhich hosts a number of applications including a messaging clientapplication 104. Each messaging client application 104 iscommunicatively coupled to other instances of the messaging clientapplication 104 and a messaging server system 108 via a network 106(e.g., the Internet). As used herein, the term “client device” may referto any machine that interfaces to a communications network (such asnetwork 106) to obtain resources from one or more server systems orother client devices. A client device may be, but is not limited to, amobile phone, desktop computer, laptop, portable digital assistants(PDAs), smart phones, tablets, ultra books, netbooks, laptops,multi-processor systems, microprocessor-based or programmable consumerelectronics, game consoles, set-top boxes, or any other communicationdevice that a user may use to access a network.

In the example shown in FIG. 1 , each messaging client application 104is able to communicate and exchange data with another messaging clientapplication 104 and with the messaging server system 108 via the network106. The data exchanged between messaging client applications 104, andbetween a messaging client application 104 and the messaging serversystem 108, includes functions (e.g., commands to invoke functions) aswell as payload data (e.g., text, audio, video or other multimediadata).

The network 106 may include, or operate in conjunction with, an ad hocnetwork, an intranet, an extranet, a virtual private network (VPN), alocal area network (LAN), a wireless LAN (WLAN), a wide area network(WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), theInternet, a portion of the Internet, a portion of the Public SwitchedTelephone Network (PSTN), a plain old telephone service (POTS) network,a cellular telephone network, a wireless network, a Wi-Fi® network,another type of network, or a combination of two or more such networks.For example, a network or a portion of a network may include a wirelessor cellular network and the coupling may be a Code Division MultipleAccess (CDMA) connection, a Global System for Mobile communications(GSM) connection, or other type of cellular or wireless coupling. Inthis example, the coupling may implement any of a variety of types ofdata transfer technology, such as Single Carrier Radio TransmissionTechnology (1×RTT), Evolution-Data Optimized (EVDO) technology, GeneralPacket Radio Service (GPRS) technology, Enhanced Data rates for GSMEvolution (EDGE) technology, third Generation Partnership Project (3GPP)including 3G, fourth generation wireless (4G) networks, Universal MobileTelecommunications System (UMTS), High Speed Packet Access (HSPA),Worldwide Interoperability for Microwave Access (WiMAX), Long TermEvolution (LTE) standard, others defined by various standard settingorganizations, other long range protocols, or other data transfertechnology.

The messaging server system 108 provides server-side functionality viathe network 106 to a particular messaging client application 104. Whilecertain functions of the messaging system 100 are described herein asbeing performed by either a messaging client application 104 or by themessaging server system 108, it will be appreciated that the location ofcertain functionality either within the messaging client application 104or the messaging server system 108 is a design choice. For example, itmay be technically preferable to initially deploy certain technology andfunctionality within the messaging server system 108, but to latermigrate this technology and functionality to the messaging clientapplication 104 where a client device 102 has a sufficient processingcapacity.

The messaging server system 108 supports various services and operationsthat are provided to the messaging client application 104. Suchoperations include transmitting data to, receiving data from, andprocessing data generated by the messaging client application 104. Thisdata may include, message content, client device information,geolocation information, media annotation and overlays, message contentpersistence conditions, social network information, and live eventinformation, as examples. Data exchanges within the messaging system 100are invoked and controlled through functions available via userinterfaces (UIs) of the messaging client application 104.

Turning now specifically to the messaging server system 108, anApplication Program Interface (API) server 110 is coupled to, andprovides a programmatic interface to, an application server 112. Theapplication server 112 is communicatively coupled to a database server118, which facilitates access to a database 120 in which is stored dataassociated with messages processed by the application server 112.

Dealing specifically with the Application Program Interface (API) server110, this server receives and transmits message data (e.g., commands andmessage payloads) between the client device 102 and the applicationserver 112. Specifically, the Application Program Interface (API) server110 provides a set of interfaces (e.g., routines and protocols) that canbe called or queried by the messaging client application 104 in order toinvoke functionality of the application server 112. The ApplicationProgram Interface (API) server 110 exposes various functions supportedby the application server 112, including account registration, loginfunctionality, the sending of messages, via the application server 112,from a particular messaging client application 104 to another messagingclient application 104, the sending of media files (e.g., images orvideo) from a messaging client application 104 to the messaging serverapplication 114, and for possible access by another messaging clientapplication 104, the setting of a collection of media data (e.g.,story), the retrieval of a list of friends of a user of a client device102, the retrieval of such collections, the retrieval of messages andcontent, the adding and deletion of friends to a social graph, thelocation of friends within a social graph, opening and application event(e.g., relating to the messaging client application 104).

The application server 112 hosts a number of applications andsubsystems, including a messaging server application 114, an imageprocessing system 116 and a social network system 122. The messagingserver application 114 implements a number of message processingtechnologies and functions, particularly related to the aggregation andother processing of content (e.g., textual and multimedia contentincluding images and video clips) included in messages received frommultiple instances of the messaging client application 104. As will bedescribed in further detail, the text and media content from multiplesources may be aggregated into collections of content (e.g., calledstories or galleries). These collections are then made available, by themessaging server application 114, to the messaging client application104. Other processor and memory intensive processing of data may also beperformed server-side by the messaging server application 114, in viewof the hardware requirements for such processing.

The application server 112 also includes an image processing system 116that is dedicated to performing various image processing operations,typically with respect to images or video received within the payload ofa message at the messaging server application 114.

The social network system 122 supports various social networkingfunctions services, and makes these functions and services available tothe messaging server application 114. To this end, the social networksystem 122 maintains and accesses an entity graph 304 within thedatabase 120. Examples of functions and services supported by the socialnetwork system 122 include the identification of other users of themessaging system 100 with which a particular user has relationships oris “following”, and also the identification of other entities andinterests of a particular user.

The application server 112 is communicatively coupled to a databaseserver 118, which facilitates access to a database 120 in which isstored data associated with messages processed by the messaging serverapplication 114.

Some embodiments may include one or more wearable devices, such as apendant with an integrated camera that is integrated with, incommunication with, or coupled to, a client device 102. Any desiredwearable device may be used in conjunction with the embodiments of thepresent disclosure, such as a watch, eyeglasses, goggles, a headset, awristband, earbuds, clothing (such as a hat or jacket with integratedelectronics), a clip-on electronic device, and/or any other wearabledevices.

FIG. 2 is block diagram illustrating further details regarding themessaging system 100, according to exemplary embodiments. Specifically,the messaging system 100 is shown to comprise the messaging clientapplication 104 and the application server 112, which in turn embody anumber of some subsystems, namely an ephemeral timer system 202, acollection management system 204 and an annotation system 206.

The ephemeral timer system 202 is responsible for enforcing thetemporary access to content permitted by the messaging clientapplication 104 and the messaging server application 114. To this end,the ephemeral timer system 202 incorporates a number of timers that,based on duration and display parameters associated with a message, orcollection of messages (e.g., a SNAPCHAT story), selectively display andenable access to messages and associated content via the messagingclient application 104.

The collection management system 204 is responsible for managingcollections of media (e.g., collections of text, image video and audiodata). In some examples, a collection of content (e.g., messages,including images, video, text and audio) may be organized into an “eventgallery” or an “event story.” Such a collection may be made availablefor a specified time period, such as the duration of an event to whichthe content relates. For example, content relating to a music concertmay be made available as a “story” for the duration of that musicconcert. The collection management system 204 may also be responsiblefor publishing an icon that provides notification of the existence of aparticular collection to the user interface of the messaging clientapplication 104.

The collection management system 204 furthermore includes a curationinterface 208 that allows a collection manager to manage and curate aparticular collection of content. For example, the curation interface208 enables an event organizer to curate a collection of contentrelating to a specific event (e.g., delete inappropriate content orredundant messages). Additionally, the collection management system 204employs machine vision (or image recognition technology) and contentrules to automatically curate a content collection. In certainembodiments, compensation may be paid to a user for inclusion of usergenerated content into a collection. In such cases, the curationinterface 208 operates to automatically make payments to such users forthe use of their content.

The annotation system 206 provides various functions that enable a userto annotate or otherwise modify or edit media content associated with amessage. For example, the annotation system 206 provides functionsrelated to the generation and publishing of media overlays for messagesprocessed by the messaging system 100. The annotation system 206operatively supplies a media overlay (e.g., a SNAPCHAT filter) to themessaging client application 104 based on a geolocation of the clientdevice 102. In another example, the annotation system 206 operativelysupplies a media overlay to the messaging client application 104 basedon other information, such as, social network information of the user ofthe client device 102. A media overlay may include audio and visualcontent and visual effects. Examples of audio and visual content includepictures, texts, logos, animations, and sound effects. An example of avisual effect includes color overlaying. The audio and visual content orthe visual effects can be applied to a media content item (e.g., aphoto) at the client device 102. For example, the media overlayincluding text that can be overlaid on top of a photograph generatedtaken by the client device 102. In another example, the media overlayincludes an identification of a location overlay (e.g., Venice beach), aname of a live event, or a name of a merchant overlay (e.g., BeachCoffee House). In another example, the annotation system 206 uses thegeolocation of the client device 102 to identify a media overlay thatincludes the name of a merchant at the geolocation of the client device102. The media overlay may include other indicia associated with themerchant. The media overlays may be stored in the database 120 andaccessed through the database server 118.

In one exemplary embodiment, the annotation system 206 provides auser-based publication platform that enables users to select ageolocation on a map, and upload content associated with the selectedgeolocation. The user may also specify circumstances under which aparticular media overlay should be offered to other users. Theannotation system 206 generates a media overlay that includes theuploaded content and associates the uploaded content with the selectedgeolocation.

In another exemplary embodiment, the annotation system 206 provides amerchant-based publication platform that enables merchants to select aparticular media overlay associated with a geolocation via a biddingprocess. For example, the annotation system 206 associates the mediaoverlay of a highest bidding merchant with a corresponding geolocationfor a predefined amount of time

FIG. 3 is a schematic diagram 300 illustrating data 300 which may bestored in the database 120 of the messaging server system 108, accordingto certain exemplary embodiments. While the content of the database 120is shown to comprise a number of tables, it will be appreciated that thedata could be stored in other types of data structures (e.g., as anobject-oriented database).

The database 120 includes message data stored within a message table314. The entity table 302 stores entity data, including an entity graph304. Entities for which records are maintained within the entity table302 may include individuals, corporate entities, organizations, objects,places, events etc. Regardless of type, any entity regarding which themessaging server system 108 stores data may be a recognized entity. Eachentity is provided with a unique identifier, as well as an entity typeidentifier (not shown).

The entity graph 304 furthermore stores information regardingrelationships and associations between entities. Such relationships maybe social, professional (e.g., work at a common corporation ororganization) interested-based or activity-based, merely for example.

The database 120 also stores annotation data, in the example form offilters, in an annotation table 312. Filters for which data is storedwithin the annotation table 312 are associated with and applied tovideos (for which data is stored in a video table 310) and/or images(for which data is stored in an image table 308). Filters, in oneexample, are overlays that are displayed as overlaid on an image orvideo during presentation to a recipient user. Filters may be of variestypes, including a user-selected filters from a gallery of filterspresented to a sending user by the messaging client application 104 whenthe sending user is composing a message. Other types of filers includegeolocation filters (also known as geo-filters) which may be presentedto a sending user based on geographic location. For example, geolocationfilters specific to a neighborhood or special location may be presentedwithin a user interface by the messaging client application 104, basedon geolocation information determined by a GPS unit of the client device102. Another type of filer is a data filer, which may be selectivelypresented to a sending user by the messaging client application 104,based on other inputs or information gathered by the client device 102during the message creation process. Example of data filters includecurrent temperature at a specific location, a current speed at which asending user is traveling, battery life for a client device 102 or thecurrent time.

Other annotation data that may be stored within the image table 308 isso-called “lens” data. A “lens” may be a real-time special effect andsound that may be added to an image or a video.

As mentioned above, the video table 310 stores video data which, in oneembodiment, is associated with messages for which records are maintainedwithin the message table 314. Similarly, the image table 308 storesimage data associated with messages for which message data is stored inthe entity table 302. The entity table 302 may associate variousannotations from the annotation table 312 with various images and videosstored in the image table 308 and the video table 310.

A story table 306 stores data regarding collections of messages andassociated image, video or audio data, which are compiled into acollection (e.g., a SNAPCHAT story or a gallery). The creation of aparticular collection may be initiated by a particular user (e.g., eachuser for which a record is maintained in the entity table 302). A usermay create a “personal story” in the form of a collection of contentthat has been created and sent/broadcast by that user. To this end, theuser interface of the messaging client application 104 may include anicon that is user selectable to enable a sending user to add specificcontent to his or her personal story.

A collection may also constitute a “live story,” which is a collectionof content from multiple users that is created manually, automaticallyor using a combination of manual and automatic techniques. For example,a “live story” may constitute a curated stream of user-submitted contentfrom varies locations and events. Users, whose client devices havelocation services enabled and are at a common location event at aparticular time may, for example, be presented with an option, via auser interface of the messaging client application 104, to contributecontent to a particular live story. The live story may be identified tothe user by the messaging client application 104, based on his or herlocation. The end result is a “live story” told from a communityperspective.

A further type of content collection is known as a “location story”,which enables a user whose client device 102 is located within aspecific geographic location (e.g., on a college or university campus)to contribute to a particular collection. In some embodiments, acontribution to a location story may require a second degree ofauthentication to verify that the end user belongs to a specificorganization or other entity (e.g., is a student on the universitycampus).

Dynamic Activity-Based Image Generation

Embodiments of the present disclosure may be used to dynamicallygenerate and modify images based on activity data received from, forexample, an activity sensor (such as an activity sensor described belowwith reference to FIG. 7 ). FIG. 4 is a flow diagram of an exemplarymethod for activity-based image generation according to various aspectsof the present disclosure. The steps of method 400 may be performed inwhole or in part, and may be performed by any number of differentsystems, such as the systems described in FIGS. 1 and/or 7 .

In example shown in FIG. 4 , method 400 includes generating an image(410), retrieving activity data from an activity sensor (420),presenting the image (430), modifying the image based at least on theretrieved activity data (440), communicating information (such astransmitting the modified image) with a server (450), retrieving updatedactivity data from the activity sensor (460), and updating the imagebased on the updated activity data (470).

Embodiments of the present disclosure may generate (410) any number ofimages using any number of desired image capturing devices, such as adigital camera (e.g., operating as part of input module 728 in FIG. 7 ).FIG. 5A illustrates an example of an exemplary computer system (asmartphone) capturing an image using a digital camera integrated withinthe smartphone. In alternate embodiments, image capturing devices may beremote to a system retrieving the image, and such images may beretrieved over a network (e.g., network 106 in FIG. 1 ).

Activity data may be retrieved (420) from one or more activity sensors.As described below with reference to FIG. 7 , an activity sensor mayinclude any number of different hardware and/or components/modules forcollecting various activity data related to the a computer systemperforming the functionality of the disclosed embodiments (e.g., machine700), the environment of a computer system, a user of the computersystem, or combinations thereof. For example, an activity sensoroperating in conjunction with embodiments of the present disclosure mayinclude an accelerometer integrated into a computer system carriedand/or worn by a user for identifying each time the user takes a step.In this context “retrieving” activity data may include receiving datatransmitted (e.g., over a bus or a network) from the activity sensor(s)(i.e., a “push” configuration) as well as actively polling the activitysensor for the activity data (i.e., a “pull” configuration).

In some embodiments, the activity sensor (and its underlying components)may be coupled to, or integrated with, a system (e.g., system 700)performing some or all of the functionality of process 400. In otherembodiments, the activity sensor may be located remote from the system,and the activity data may be retrieved via a network, applicationprogram interface, and/or other communication protocol. Additionally,activity data may be retrieved from a combination of activity sensors,some of which are integrated with a system and some of which are remotefrom the system.

The image may be presented (430) via the display screen of a userinterface of a computer system (such as the screen of the smartphoneshown in FIG. 5A), and modifications to the image may likewise bereceived and/or presented via the user interface. The image may bemodified (440) based on the activity data, user input, and/or inresponse to other criteria.

In one example, as illustrated in FIG. 5B, the activity data retrievedfrom the activity sensor (i.e., the number of steps taken by the userfrom a predetermined time period) is used to modify (440) the imagecaptured in FIG. 5A. In some embodiments, such modification may beperformed automatically and without user interaction. In otherembodiments, such modification may be performed in response to inputfrom the user via a user interface of the computer system. In FIG. 5B,for example, the user provides input to the user interface to apply afilter for modifying the generated image by overlaying a representationof the activity data on the image. In this example, the representationof the activity data is a numerical display of the number of steps takenby the user, though other visual representations (such as graphs,pictures, animations, etc.) may also be used. Representations of theactivity data may also be (or include) audio components, such as anaudio playback of the number of steps taken by the user. The user couldalso provide input, such as alphanumeric text, an icon, an edit to theunderlying image (such a change to the image's size, shape, color, orscale) and the like, that is likewise overlaid on the image.

A computer system performing the functionality method 400 maycommunicate (450) with any number of other systems and devices,including a server. Such communication may be performed using a varietyof different communication protocols and communication mediums,including those described above with reference to network 106. In someembodiments, for example, communication with the server may includetransmitting an image modified with activity data to a server. In theexemplary system 700 shown in FIG. 7 , such communication may beeffected using communication module 740.

In some embodiments, communication with external devices (450) mayinclude retrieving additional images. Such images may then be modifiedbased on the retrieved activity data (440) and the modified image sentback to its source (e.g., a server) or a different device. In thismanner, instead of overlaying the activity data on an image captured viathe user's computing device, a user could select and download an imagefrom another source to modify with the activity data.

As additional data from the original activity sensor (oradditional/different activity sensors) is retrieved (460), the image maybe further updated (470) based on such additional/updated data.Referring back to FIGS. 5C-5F, the user's updated step count may berepresented in the image as it increases, moving from 296 steps to 305steps, to 329 steps, and to 344 steps, respectively. Such modificationsmay be made in real-time or near-real-time as the related activity datais retrieved/received from the activity sensor. In some cases,additional/updated activity data may be displayed in conjunction withpreviously retrieved activity data (e.g., in the form of a graph showinga user's activity progress). In other cases, a representation of updatedactivity data may replace the representation of previous data (as in theexample shown in FIGS. 5D-5F, where the users' step count progresses asthe user takes more steps).

Similarly, the system may modify the original image with initial/updatedactivity data, or the system may generate new images withrepresentations of updated activity data. In this manner, a system caninstruct a server to replace a first image with older activity data witha second image containing updated activity data. In embodiments wherethe server is displaying the images to a user's social network, only thelatest image (with the latest activity data) may be displayed.Additionally or alternatively, the system can generate a history ofimages associated with activity data retrieved at different times forreview by the user and/or sharing with the user's social network.

In some embodiments, as shown in FIGS. 5D-5F, the image may be modifiedbased on activity data associated with other users and/or from otheractivity sensors. For example, the image may be modified to displayrepresentations of the user's relative activity data ranking (e.g.,first, second, or third in this example) with regards to the activitydata from other users. In this example, at least three other users arecompeting with each other based on the number of steps each user takeswithin a predetermined time period (e.g., one hour, one day, or oneweek). In FIG. 5D the user reaches third place in the ranking (with 305steps) and an icon representing the user (the ghost) is displayedstanding on the third-place podium. Similarly, the user reaches secondplace in FIG. 5E and first place in FIG. 5F. Various images, sounds,animations, and the like may be presented in conjunction with displayingthe user's ranking. Among other things, this not only gives a user a wayto compete in real-time or near-real-time with other users (e.g.,members of the user's social network) in achieving fitness goals, butprovides the user with motivation to continue/extend various physicalactivities.

As described herein with reference to FIGS. 1 and 7 , systems performingvarious functionality of the embodiments described herein may beintegrated with one or more wearable devices, such as a watch,eyeglasses, goggles, a headset, a wristband, earbuds, clothing (such asa hat or jacket with integrated electronics), a clip-on electronicdevice, and/or any other wearable devices. For example, the system maycomprise a pair of glasses or goggles that includes a digital camera forcapturing images/video as a user runs and adapted to display thecaptured video (along with the user's step count or other activity data)in the lens of the glasses or goggles, along with one or more activitysensors, computer processors, memory, and other components. In thisexample, a user can use such a system to of the present disclosure toautomatically generate, modify, and/or transmit video images containingthe user's step count or other activity data to a server, such as aserver hosting a social network of the user. Members of the user'ssocial network could view the user's video (or still images therefrom)along with the user's step count as part of a competition or simply toshare the user's activity with his/her friends.

Software Architecture

FIG. 6 is a block diagram illustrating an example software architecture606, which may be used in conjunction with various hardwarearchitectures herein described. FIG. 6 is a non-limiting example of asoftware architecture and it will be appreciated that many otherarchitectures may be implemented to facilitate the functionalitydescribed herein. The software architecture 606 may execute on hardwaresuch as machine 700 of FIG. 7 that includes, among other things,processors 704, memory 714, and I/O components 718. A representativehardware layer 652 is illustrated and can represent, for example, themachine 700 of FIG. 7 . The representative hardware layer 652 includes aprocessing unit 654 having associated executable instructions 604.Executable instructions 604 represent the executable instructions of thesoftware architecture 606, including implementation of the methods,components and so forth described herein. The hardware layer 652 alsoincludes memory and/or storage modules memory/storage 656, which alsohave executable instructions 604. The hardware layer 652 may alsocomprise other hardware 658.

As used herein, the term “component” may refer to a device, physicalentity or logic having boundaries defined by function or subroutinecalls, branch points, application program interfaces (APIs), and/orother technologies that provide for the partitioning or modularizationof particular processing or control functions. Components may becombined via their interfaces with other components to carry out amachine process. A component may be a packaged functional hardware unitdesigned for use with other components and a part of a program thatusually performs a particular function of related functions.

Components may constitute either software components (e.g., codeembodied on a machine-readable medium) or hardware components. A“hardware component” is a tangible unit capable of performing certainoperations and may be configured or arranged in a certain physicalmanner. In various exemplary embodiments, one or more computer systems(e.g., a standalone computer system, a client computer system, or aserver computer system) or one or more hardware components of a computersystem (e.g., a processor or a group of processors) may be configured bysoftware (e.g., an application or application portion) as a hardwarecomponent that operates to perform certain operations as describedherein. A hardware component may also be implemented mechanically,electronically, or any suitable combination thereof. For example, ahardware component may include dedicated circuitry or logic that ispermanently configured to perform certain operations.

A hardware component may be a special-purpose processor, such as aField-Programmable Gate Array (FPGA) or an Application SpecificIntegrated Circuit (ASIC). A hardware component may also includeprogrammable logic or circuitry that is temporarily configured bysoftware to perform certain operations. For example, a hardwarecomponent may include software executed by a general-purpose processoror other programmable processor. Once configured by such software,hardware components become specific machines (or specific components ofa machine) uniquely tailored to perform the configured functions and areno longer general-purpose processors. It will be appreciated that thedecision to implement a hardware component mechanically, in dedicatedand permanently configured circuitry, or in temporarily configuredcircuitry (e.g., configured by software) may be driven by cost and timeconsiderations.

A processor may be, or in include, any circuit or virtual circuit (aphysical circuit emulated by logic executing on an actual processor)that manipulates data values according to control signals (e.g.,“commands”, “op codes”, “machine code”, etc.) and which producescorresponding output signals that are applied to operate a machine. Aprocessor may, for example, be a Central Processing Unit (CPU), aReduced Instruction Set Computing (RISC) processor, a ComplexInstruction Set Computing (CISC) processor, a Graphics Processing Unit(GPU), a Digital Signal Processor (DSP), an Application SpecificIntegrated Circuit (ASIC), a Radio-Frequency Integrated Circuit (RFIC)or any combination thereof. A processor may further be a multi-coreprocessor having two or more independent processors (sometimes referredto as “cores”) that may execute instructions contemporaneously.

Accordingly, the phrase “hardware component” (or “hardware-implementedcomponent”) should be understood to encompass a tangible entity, be thatan entity that is physically constructed, permanently configured (e.g.,hardwired), or temporarily configured (e.g., programmed) to operate in acertain manner or to perform certain operations described herein.Considering embodiments in which hardware components are temporarilyconfigured (e.g., programmed), each of the hardware components need notbe configured or instantiated at any one instance in time. For example,where a hardware component comprises a general-purpose processorconfigured by software to become a special-purpose processor, thegeneral-purpose processor may be configured as respectively differentspecial-purpose processors (e.g., comprising different hardwarecomponents) at different times. Software accordingly configures aparticular processor or processors, for example, to constitute aparticular hardware component at one instance of time and to constitutea different hardware component at a different instance of time. Hardwarecomponents can provide information to, and receive information from,other hardware components. Accordingly, the described hardwarecomponents may be regarded as being communicatively coupled. Wheremultiple hardware components exist contemporaneously, communications maybe achieved through signal transmission (e.g., over appropriate circuitsand buses) between or among two or more of the hardware components. Inembodiments in which multiple hardware components are configured orinstantiated at different times, communications between such hardwarecomponents may be achieved, for example, through the storage andretrieval of information in memory structures to which the multiplehardware components have access.

For example, one hardware component may perform an operation and storethe output of that operation in a memory device to which it iscommunicatively coupled. A further hardware component may then, at alater time, access the memory device to retrieve and process the storedoutput. Hardware components may also initiate communications with inputor output devices, and can operate on a resource (e.g., a collection ofinformation). The various operations of example methods described hereinmay be performed, at least partially, by one or more processors that aretemporarily configured (e.g., by software) or permanently configured toperform the relevant operations. Whether temporarily or permanentlyconfigured, such processors may constitute processor-implementedcomponents that operate to perform one or more operations or functionsdescribed herein. As used herein, “processor-implemented component”refers to a hardware component implemented using one or more processors.Similarly, the methods described herein may be at least partiallyprocessor-implemented, with a particular processor or processors beingan example of hardware. For example, at least some of the operations ofa method may be performed by one or more processors orprocessor-implemented components.

Moreover, the one or more processors may also operate to supportperformance of the relevant operations in a “cloud computing”environment or as a “software as a service” (SaaS). For example, atleast some of the operations may be performed by a group of computers(as examples of machines including processors), with these operationsbeing accessible via a network (e.g., the Internet) and via one or moreappropriate interfaces (e.g., an Application Program Interface (API)).The performance of certain of the operations may be distributed amongthe processors, not only residing within a single machine, but deployedacross a number of machines. In some exemplary embodiments, theprocessors or processor-implemented components may be located in asingle geographic location (e.g., within a home environment, an officeenvironment, or a server farm). In other exemplary embodiments, theprocessors or processor-implemented components may be distributed acrossa number of geographic locations.

In the exemplary architecture of FIG. 6 , the software architecture 606may be conceptualized as a stack of layers where each layer providesparticular functionality. For example, the software architecture 606 mayinclude layers such as an operating system 602, libraries 620,applications 616 and a presentation layer 614. Operationally, theapplications 616 and/or other components within the layers may invokeapplication programming interface (API) API calls 608 through thesoftware stack and receive messages 612 in response to the API calls608. The layers illustrated are representative in nature and not allsoftware architectures have all layers. For example, some mobile orspecial purpose operating systems may not provide aframeworks/middleware 618, while others may provide such a layer. Othersoftware architectures may include additional or different layers.

The operating system 602 may manage hardware resources and providecommon services. The operating system 602 may include, for example, akernel 622, services 624 and drivers 626. The kernel 622 may act as anabstraction layer between the hardware and the other software layers.For example, the kernel 622 may be responsible for memory management,processor management (e.g., scheduling), component management,networking, security settings, and so on. The services 624 may provideother common services for the other software layers. The drivers 626 areresponsible for controlling or interfacing with the underlying hardware.For instance, the drivers 626 include display drivers, camera drivers,Bluetooth® drivers, flash memory drivers, serial communication drivers(e.g., Universal Serial Bus (USB) drivers), Wi-Fi® drivers, audiodrivers, power management drivers, and so forth depending on thehardware configuration.

The libraries 620 provide a common infrastructure that is used by theapplications 616 and/or other components and/or layers. The libraries620 provide functionality that allows other software components toperform tasks in an easier fashion than to interface directly with theunderlying operating system 602 functionality (e.g., kernel 622,services 624 and/or drivers 626). The libraries 620 may include systemlibraries 644 (e.g., C standard library) that may provide functions suchas memory allocation functions, string manipulation functions,mathematical functions, and the like. In addition, the libraries 620 mayinclude API libraries 646 such as media libraries (e.g., libraries tosupport presentation and manipulation of various media format such asMPREG4, H.264, MP3, AAC, AMR, JPG, PNG), graphics libraries (e.g., anOpenGL framework that may be used to render 2D and 3D in a graphiccontent on a display), database libraries (e.g., SQLite that may providevarious relational database functions), web libraries (e.g., WebKit thatmay provide web browsing functionality), and the like. The libraries 620may also include a wide variety of other libraries 648 to provide manyother APIs to the applications 616 and other softwarecomponents/modules.

The frameworks/middleware 618 (also sometimes referred to as middleware)provide a higher-level common infrastructure that may be used by theapplications 616 and/or other software components/modules. For example,the frameworks/middleware 618 may provide various graphic user interface(GUI) functions, high-level resource management, high-level locationservices, and so forth. The frameworks/middleware 618 may provide abroad spectrum of other APIs that may be utilized by the applications616 and/or other software components/modules, some of which may bespecific to a particular operating system 602 or platform.

The applications 616 include built-in applications 638 and/orthird-party applications 640. Examples of representative built-inapplications 638 may include, but are not limited to, a contactsapplication, a browser application, a book reader application, alocation application, a media application, a messaging application,and/or a game application. Third-party applications 640 may include anapplication developed using the ANDROID™ or IOS™ software developmentkit (SDK) by an entity other than the vendor of the particular platform,and may be mobile software running on a mobile operating system such asIOS™, ANDROID™ WINDOWS® Phone, or other mobile operating systems. Thethird-party applications 640 may invoke the API calls 608 provided bythe mobile operating system (such as operating system 602) to facilitatefunctionality described herein.

The applications 616 may use built in operating system functions (e.g.,kernel 622, services 624 and/or drivers 626), libraries 620, andframeworks/middleware 618 to create user interfaces to interact withusers of the system. Alternatively, or additionally, in some systemsinteractions with a user may occur through a presentation layer, such aspresentation layer 614. In these systems, the application/component“logic” can be separated from the aspects of the application/componentthat interact with a user.

FIG. 7 is a block diagram illustrating components (also referred toherein as “modules”) of a machine 700, according to some exemplaryembodiments, able to read instructions from a machine-readable medium(e.g., a machine-readable storage medium) and perform any one or more ofthe methodologies discussed herein. Specifically, FIG. 7 shows adiagrammatic representation of the machine 700 in the example form of acomputer system, within which instructions 710 (e.g., software, aprogram, an application, an applet, an app, or other executable code)for causing the machine 700 to perform any one or more of themethodologies discussed herein may be executed. As such, theinstructions 710 may be used to implement modules or componentsdescribed herein. The instructions 710 transform the general,non-programmed machine 700 into a particular machine 700 programmed tocarry out the described and illustrated functions in the mannerdescribed. In alternative embodiments, the machine 700 operates as astandalone device or may be coupled (e.g., networked) to other machines.In a networked deployment, the machine 700 may operate in the capacityof a server machine or a client machine in a server-client networkenvironment, or as a peer machine in a peer-to-peer (or distributed)network environment. The machine 700 may comprise, but not be limitedto, a server computer, a client computer, a personal computer (PC), atablet computer, a laptop computer, a netbook, a set-top box (STB), apersonal digital assistant (PDA), an entertainment media system, acellular telephone, a smart phone, a mobile device, a wearable device(e.g., a smart watch), a smart home device (e.g., a smart appliance),other smart devices, a web appliance, a network router, a networkswitch, a network bridge, or any machine capable of executing theinstructions 710, sequentially or otherwise, that specify actions to betaken by machine 700. Further, while only a single machine 700 isillustrated, the term “machine” shall also be taken to include acollection of machines that individually or jointly execute theinstructions 710 to perform any one or more of the methodologiesdiscussed herein.

The machine 700 may include processors 704, memory memory/storage 706,and I/O components 718, which may be configured to communicate with eachother such as via a bus 702. The memory/storage 706 may include a memory714, such as a main memory, or other memory storage, and a storage unit716, both accessible to the processors 704 such as via the bus 702. Thestorage unit 716 and memory 714 store the instructions 710 embodying anyone or more of the methodologies or functions described herein. Theinstructions 710 may also reside, completely or partially, within thememory 714, within the storage unit 716, within at least one of theprocessors 704 (e.g., within the processor's cache memory), or anysuitable combination thereof, during execution thereof by the machine700. Accordingly, the memory 714, the storage unit 716, and the memoryof processors 704 are examples of machine-readable media.

As used herein, the term “machine-readable medium,” “computer-readablemedium,” or the like may refer to any component, device or othertangible media able to store instructions and data temporarily orpermanently. Examples of such media may include, but is not limited to,random-access memory (RAM), read-only memory (ROM), buffer memory, flashmemory, optical media, magnetic media, cache memory, other types ofstorage (e.g., Erasable Programmable Read-Only Memory (EEPROM)) and/orany suitable combination thereof. The term “machine-readable medium”should be taken to include a single medium or multiple media (e.g., acentralized or distributed database, or associated caches and servers)able to store instructions. The term “machine-readable medium” may alsobe taken to include any medium, or combination of multiple media, thatis capable of storing instructions (e.g., code) for execution by amachine, such that the instructions, when executed by one or moreprocessors of the machine, cause the machine to perform any one or moreof the methodologies described herein. Accordingly, a “machine-readablemedium” may refer to a single storage apparatus or device, as well as“cloud-based” storage systems or storage networks that include multiplestorage apparatus or devices. The term “machine-readable medium”excludes signals per se.

The I/O components 718 may include a wide variety of components toprovide a user interface for receiving input, providing output,producing output, transmitting information, exchanging information,capturing measurements, and so on. The specific I/O components 718 thatare included in the user interface of a particular machine 700 willdepend on the type of machine. For example, portable machines such asmobile phones will likely include a touch input device or other suchinput mechanisms, while a headless server machine will likely notinclude such a touch input device. It will be appreciated that the I/Ocomponents 718 may include many other components that are not shown inFIG. 7 . The I/O components 718 are grouped according to functionalitymerely for simplifying the following discussion and the grouping is inno way limiting. In various exemplary embodiments, the I/O components718 may include output components 726 and input components 728. Theoutput components 726 may include visual components (e.g., a displaysuch as a plasma display panel (PDP), a light emitting diode (LED)display, a liquid crystal display (LCD), a projector, or a cathode raytube (CRT)), acoustic components (e.g., speakers), haptic components(e.g., a vibratory motor, resistance mechanisms), other signalgenerators, and so forth. The input components 728 may includealphanumeric input components (e.g., a keyboard, a touch screenconfigured to receive alphanumeric input, a photo-optical keyboard, orother alphanumeric input components), point based input components(e.g., a mouse, a touchpad, a trackball, a joystick, a motion sensor, orother pointing instrument), tactile input components (e.g., a physicalbutton, a touch screen that provides location and/or force of touches ortouch gestures, or other tactile input components), audio inputcomponents (e.g., a microphone), and the like. The input components 728may also include one or more image-capturing devices, such as a digitalcamera for generating digital images and/or video.

In further exemplary embodiments, the I/O components 718 may includebiometric components 730, motion components 734, environmentalenvironment components 736, or position components 738, as well as awide array of other components. One or more of such components (orportions thereof) may collectively be referred to herein as an “activitycomponent” or “activity sensor” for collecting various activity datarelated to the machine 700, the environment of the machine 700, a userof the machine 700, or a combinations thereof.

For example, the biometric components 730 may include components todetect expressions (e.g., hand expressions, facial expressions, vocalexpressions, body gestures, or eye tracking), measure biosignals (e.g.,blood pressure, heart rate, body temperature, perspiration, or brainwaves), identify a person (e.g., voice identification, retinalidentification, facial identification, fingerprint identification, orelectroencephalogram based identification), and the like. The motioncomponents 734 may include acceleration sensor components (e.g.,accelerometer), gravitation sensor components, rotation sensorcomponents (e.g., gyroscope), and so forth. The environment components736 may include, for example, illumination sensor components (e.g.,photometer), temperature sensor components (e.g., one or morethermometer that detect ambient temperature), humidity sensorcomponents, pressure sensor components (e.g., barometer), acousticsensor components (e.g., one or more microphones that detect backgroundnoise), proximity sensor components (e.g., infrared sensors that detectnearby objects), gas sensors (e.g., gas detection sensors to detectionconcentrations of hazardous gases for safety or to measure pollutants inthe atmosphere), or other components that may provide indications,measurements, or signals corresponding to a surrounding physicalenvironment. The position components 738 may include location sensorcomponents (e.g., a Global Position system (GPS) receiver component),altitude sensor components (e.g., altimeters or barometers that detectair pressure from which altitude may be derived), orientation sensorcomponents (e.g., magnetometers), and the like.

With reference to the method 400 described in FIG. 4 , an activitysensor operating in conjunction with a client device 102 according tovarious aspects of the disclosure may include one or more biometriccomponents 730, motion components 734, environment components 736,and/or position components 738 for collecting activity data related to auser of the client device. The activity sensor components may beintegrated with the client device 102 (as shown in FIG. 7 ) or they maybe separate from the client device. In the former case, the clientdevice may be integrated with a wearable device (such as a pair ofglasses, a piece of clothing, a watch, etc.) and may collect theactivity data in real-time or near-real time as the user moves aroundwith the client device 102 attached to him/her. In the latter case, theclient device 102 (or other computing device) may be remote from theactivity sensor, and can receive activity data from the activity sensorover a network via (for example) an application program interface.

Communication may be implemented using a wide variety of technologies.The I/O components 718 may include communication components 740 operableto couple the machine 700 to a network 732 or devices 720 via coupling722 and coupling 724 respectively. For example, the communicationcomponents 740 may include a network interface component or othersuitable device to interface with the network 732. In further examples,communication components 740 may include wired communication components,wireless communication components, cellular communication components,Near Field Communication (NFC) components, Bluetooth® components (e.g.,Bluetooth® Low Energy), Wi-Fi® components, and other communicationcomponents to provide communication via other modalities. The devices720 may be another machine or any of a wide variety of peripheraldevices (e.g., a peripheral device coupled via a Universal Serial Bus(USB)).

Moreover, the communication components 740 may detect identifiers orinclude components operable to detect identifiers. For example, thecommunication components 740 may include Radio Frequency Identification(RFID) tag reader components, NFC smart tag detection components,optical reader components (e.g., an optical sensor to detectone-dimensional bar codes such as Universal Product Code (UPC) bar code,multi-dimensional bar codes such as Quick Response (QR) code, Azteccode, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code, UCC RSS-2Dbar code, and other optical codes), or acoustic detection components(e.g., microphones to identify tagged audio signals). In addition, avariety of information may be derived via the communication components740, such as, location via Internet Protocol (IP) geo-location, locationvia Wi-Fi® signal triangulation, location via detecting a NFC beaconsignal that may indicate a particular location, and so forth.

Where a phrase similar to “at least one of A, B, or C,” “at least one ofA, B, and C,” “one or more A, B, or C,” or “one or more of A, B, and C”is used, it is intended that the phrase be interpreted to mean that Aalone may be present in an embodiment, B alone may be present in anembodiment, C alone may be present in an embodiment, or that anycombination of the elements A, B and C may be present in a singleembodiment; for example, A and B, A and C, B and C, or A and B and C.

A portion of the disclosure of this patent document contains materialthat is subject to copyright protection. The copyright owner has noobjection to the facsimile reproduction by anyone of the patent documentor the patent disclosure, as it appears in the Patent and TrademarkOffice patent files or records, but otherwise reserves all copyrightrights whatsoever. The following notice applies to the software and dataas described below and in the drawings that form a part of thisdocument: Copyright 2016, SNAPCHAT, INC. 2016, All Rights Reserved.

Changes and modifications may be made to the disclosed embodimentswithout departing from the scope of the present disclosure. These andother changes or modifications are intended to be included within thescope of the present disclosure, as expressed in the following claims.

What is claimed is:
 1. A system comprising: a processor; and memorystoring instructions that, when executed by the processor, cause thesystem to perform operations comprising: causing an image captured via adigital camera to be displayed on a user interface of a messagingsystem; retrieving activity data associated with a physical activityperformed by a user of the system from an activity sensor; generating anoverlay including at least a portion of the activity data; generating amodified image that comprises the image and the overlay; and causing themodified image to be displayed on the user interface, wherein causingthe modified image to be displayed comprises causing the image to bedisplayed unchanged and causing the activity data in the overlay that isdisplayed to change as updated activity data is detected by the activitysensor.
 2. The system of claim 1, wherein the system to performoperations further comprising: transmitting the modified image to aserver.
 3. The system of claim 2, wherein the modified image is causedto be temporarily displayed on display devices of client devices coupledto the server.
 4. The system of claim 1, wherein the system to performoperations further comprising: retrieving a second image from a server;generating a modified second image using the second image and theoverlay; and transmitting the modified second image to the server. 5.The system of claim 1, wherein the system is integrated with a wearabledevice, the wearable device comprising one or more of: a watch,eyeglasses, goggles, a headset, a wristband, earbuds, clothing, and aclip-on electronic device.
 6. The system of claim 1, wherein the systemto perform operations further comprising: retrieving updated activitydata from the activity sensor; and generating an updated overlay basedon the updated activity data, wherein causing the modified image to bedisplayed on the user interface further comprises: generating a modifiedsecond image using the image and the updated overlay, and replacing themodified image with the modified second image.
 7. The system of claim 6,wherein the system to perform operations further comprising:transmitting the modified second image to a server.
 8. Acomputer-implemented method comprising: causing, by a processor, animage captured via a digital camera to be displayed on a user interfaceof a messaging system; retrieving activity data associated with aphysical activity performed by a user of a system from an activitysensor; generating an overlay including at least a portion of theactivity data; generating a modified image that comprises the image andthe overlay; and causing the modified image to be displayed on the userinterface, wherein causing the modified image to be displayed comprisescausing the image to be displayed unchanged and causing the activitydata in the overlay that is displayed to change as updated activity datais detected by the activity sensor.
 9. The method of claim 8, furthercomprising: causing selectable item associated with the overlay to bedisplayed on the user interface, wherein the selectable item beingselected causes the overlay to be applied to the image.
 10. The methodof claim 8, further comprising: transmitting the modified image to aserver.
 11. The method of claim 10, wherein the modified image is causedto be temporarily displayed on display devices of client devices coupledto the server.
 12. The method of claim 8, further comprising: retrievinga second image from a server; generating a modified second image usingthe second image and the overlay; and transmitting the modified secondimage to the server.
 13. The method of claim 8, wherein the processor isintegrated with a wearable device, the wearable device comprising one ormore of: a watch, eyeglasses, goggles, a headset, a wristband, earbuds,clothing, and a clip-on electronic device.
 14. The method of claim 8,further comprising: retrieving updated activity data from the activitysensor; and generating an updated overlay based on the updated activitydata; wherein causing the modified image to be displayed on the userinterface further comprises: generating a modified second image usingthe image and the updated overlay, and replacing the modified image withthe modified second image.
 15. The method of claim 14, furthercomprising: transmitting the modified second image to a server.
 16. Anon-transitory computer-readable medium storing instructions that, whenexecuted by a processor, cause the processor to perform operationscomprising: causing an image captured via a digital camera to bedisplayed on a user interface of a messaging system; retrieving activitydata associated with a physical activity performed by a user from anactivity sensor; generating an overlay including at least a portion ofthe activity data; generating a modified image that comprises the imageand the overlay; and causing the modified image to be displayed on theuser interface, wherein causing the modified image to be displayedcomprises causing the image to be displayed unchanged and causing theactivity data in the overlay that is displayed to change as updatedactivity data is detected by the activity sensor.
 17. The non-transitorycomputer-readable medium of claim 16, wherein the processor to performoperations further comprising: transmitting the modified image to aserver.
 18. The non-transitory computer-readable medium of claim 16,wherein the processor to perform operations further comprising:retrieving a second image from a server; generating a modified secondimage using the second image and the overlay; and transmitting themodified second image to the server.
 19. The non-transitorycomputer-readable medium of claim 16, wherein the processor to performoperations further comprising: retrieving updated activity data from theactivity sensor; and generating an updated overlay based on the updatedactivity data, wherein causing the modified image to be displayed on theuser interface further comprises: generating a modified second imageusing the image and the updated overlay, and replacing the modifiedimage with the modified second image.
 20. The non-transitorycomputer-readable medium of claim 16, wherein the processor to performoperations further comprising: causing selectable item associated withthe overlay to be displayed on the user interface, wherein theselectable item being selected causes the overlay to be applied to theimage.
 21. The system of claim 1, wherein the physical activityperformed by the user is walking and the activity sensor is anaccelerometer.
 22. The method of claim 8, wherein the physical activityperformed by the user is walking and the activity sensor is anaccelerometer.
 23. The non-transitory computer-readable medium of claim16, wherein the physical activity performed by the user is walking andthe activity sensor is an accelerometer.